﻿using UnityEngine;
using UnityEditor;
using System.Collections.Generic;

public class TransitionGUIData<T>  where T : StateTransitionDataBase
{
    public List<T> transitions = new List<T>();

    public MachineStateUIStateEnum uiState = MachineStateUIStateEnum.Normal;


    public bool IsLineSelf
    {

        get
        {
            if (transitions.Count > 0)
            {
                return transitions[0].fromStateID == transitions[0].toStateID;
            }
            return false;
        }
    }
    public Color color
    {
        get
        {
            return StateMachineUtils.GetColorByState(uiState);
        }
    }
    public void DrawGUI()
    {

    }


}